package com.ff.neuropp.repository;


import com.ff.neuropp.domain.Career;
import com.ff.neuropp.domain.CareerType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CareerRepository extends JpaRepository<Career, Integer>, JpaSpecificationExecutor<Career> {


    List<Career> findAllByCareerType(CareerType type);
}
